package com.share.device.emqx.handler.impl;


import com.alibaba.fastjson.JSONObject;
import com.share.device.emqx.annotation.GuiguEmqx;
import com.share.device.emqx.constant.EmqxConstants;
import com.share.device.emqx.handler.MessageHandler;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * 充电宝弹出处理类
 * @author zxl
 * @date 2025年03月28日 22:23
 */
@Slf4j
@Component
@GuiguEmqx(topic = EmqxConstants.TOPIC_POWERBANK_UNLOCK)
public class PowerBankUnlockHandler implements MessageHandler {
    @Override
    public void handleMessage(JSONObject message) {
        log.info("handleMessage:{}", message.toJSONString());
    }
}
